
/* 通用样式 */

body {
    font-family: "微软雅黑", Verdana, Arial, SimSun;
    font-size: 18px;
    perspective: 500px;
    
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.section{
    background-position:center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.section .mask {
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, .7);
}

body .hidden {
    display: none;
}

.icon-tips::before {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    width: 0;
    height: 0;
    margin: 0 auto;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

/* main css */
.main {
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translateX(-50%);
    width: 80%;
    padding: 40px 20px;
}

/* loading css */
.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ADE1F9;
    z-index: 9999;   
}

.loader {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-mos-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align:center;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor:default;
    width:80%;
    height:36px;
    overflow:visible;
}

.loader div {
  position:absolute;
  width:30px;
  height:36px;
  margin:0 10px;
  opacity:0;
  animation:move 2s linear infinite;
  -o-animation:move 2s linear infinite;
  -moz-animation:move 2s linear infinite;
  -webkit-animation:move 2s linear infinite;
  transform:rotate(180deg);
  -o-transform:rotate(180deg);
  -moz-transform:rotate(180deg);
  -webkit-transform:rotate(180deg);
  color:#fff;
  font-size:3em;
}
.loader div:nth-child(8):before{
	content:'';
	position:absolute;
	bottom:-15px;
	left:0px;
	width:30px;
	height:30px;
	background:#DB2F00;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
}
.loader div:nth-child(9):before{
	content:'';
	position:absolute;
	bottom:-15px;
	left:0px;
	width:30px;
	height:30px;
	background:#f5f5f5;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
}
.loader div:nth-child(10):before{
	content:'';
	position:absolute;
	bottom:-15px;
	left:0px;
	width:30px;
	height:30px;
	background:#0B346E;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
}

.loader div:after{
	content:'';
	position:absolute;
	bottom:-40px;
	left:0px;
	width:30px;
	height:5px;
	background:#39312d;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
}

.loader div:nth-child(2) {
  animation-delay:0.2s;
  -o-animation-delay:0.2s;
  -moz-animation-delay:0.2s;
  -webkit-animation-delay:0.2s;
}
.loader div:nth-child(3) {
  animation-delay:0.4s;
  -o-animation-delay:0.4s;
  -webkit-animation-delay:0.4s;
  -webkit-animation-delay:0.4s;
}
.loader div:nth-child(4) {
  animation-delay:0.6s;
  -o-animation-delay:0.6s;
  -moz-animation-delay:0.6s;
  -webkit-animation-delay:0.6s;
}
.loader div:nth-child(5) {
  animation-delay:0.8s;
  -o-animation-delay:0.8s;
  -moz-animation-delay:0.8s;
  -webkit-animation-delay:0.8s;
}
.loader div:nth-child(6) {
  animation-delay:1s;
  -o-animation-delay:1s;
  -moz-animation-delay:1s;
  -webkit-animation-delay:1s;
}
.loader div:nth-child(7) {
  animation-delay:1.2s;
  -o-animation-delay:1.2s;
  -moz-animation-delay:1.2s;
  -webkit-animation-delay:1.2s;
}
.loader div:nth-child(8) {
  animation-delay:1.4s;
  -o-animation-delay:1.4s;
  -moz-animation-delay:1.4s;
  -webkit-animation-delay:1.4s;
}
.loader div:nth-child(9) {
  animation-delay:1.6s;
  -o-animation-delay:1.6s;
  -moz-animation-delay:1.6s;
  -webkit-animation-delay:1.6s;
}
.loader div:nth-child(10) {
  animation-delay:1.8s;
  -o-animation-delay:1.8s;
  -moz-animation-delay:1.8s;
  -webkit-animation-delay:1.8s;
}

@keyframes move {
    0% {
        right:0;
        opacity:0;
    }
	35% {
		right: 41%; 
		-moz-transform:rotate(0deg);
		-webkit-transform:rotate(0deg);
		-o-transform:rotate(0deg);
		transform:rotate(0deg);
		opacity:1;
	}
	65% {
		right:59%; 
		-moz-transform:rotate(0deg); 
		-webkit-transform:rotate(0deg); 
		-o-transform:rotate(0deg);
		transform:rotate(0deg); 
		opacity:1;
	}
	100% {
		right:100%; 
		-moz-transform:rotate(-180deg); 
		-webkit-transform:rotate(-180deg); 
		-o-transform:rotate(-180deg); 
		transform:rotate(-180deg);
		opacity:0;
	}
}

@-moz-keyframes move {
	0% {
		right:0; 
		opacity:0;
	}
	35% {
		right:41%; 
		-moz-transform:rotate(0deg); 
		transform:rotate(0deg);
		opacity:1;
	}
	65% {
		right:59%; 
		-moz-transform:rotate(0deg); 
		transform:rotate(0deg);
		opacity:1;
	}
	100% {
		right:100%; 
		-moz-transform:rotate(-180deg); 
		transform:rotate(-180deg);
		opacity:0;
	}
}

@-webkit-keyframes move {
	0% {
		right:0; 
		opacity:0;
	}
	35% {
		right:41%; 
		-webkit-transform:rotate(0deg); 
		transform:rotate(0deg); 
		opacity:1;
	}
	75% {
		right:59%; 
		-webkit-transform:rotate(0deg); 
		transform:rotate(0deg); 
		opacity:1;
	}
	100% {
		right:100%;
		-webkit-transform:rotate(-180deg); 
		transform:rotate(-180deg); 
		opacity:0;
	}
}

@-o-keyframes move {
	0% {
		right:0; 
		opacity:0;
	}
	35% {
		right:41%; 
		-o-transform:rotate(0deg); 
		transform:rotate(0deg); 
		opacity:1;
	}
	65% {
		right:59%; 
		-o-transform:rotate(0deg); 
		transform:rotate(0deg); 
		opacity:1;
	}
	100% {
		right:100%; 
		-o-transform:rotate(-180deg); 
		transform:rotate(-180deg); 
		opacity:0;
	}
}

/* 标题 css */

.head_title {
    text-align: center;
    color: #0B346E;
    margin: 20px 0 30px;
    font-size: 32px;
}

.test {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translateX(-50%);
    width: 100%;
}

.head_title h3 {
    font-weight: 700;
    padding: 10px;
    letter-spacing: 4px;
    position: relative;
}

.head_title h3::after {
    content: "";
    width: 200px;
    height: 2px;
    background-color: #0B346E;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.head_title .enwords {
    font-weight: 600;
    padding: 8px;
    font-family: 'Playfair Display', "Source Han Serif", serif;
    letter-spacing: 3px;
}

.head_title .enwords span::before,
.head_title .enwords span::after {
    content: "-";
}


/* 第一屏幕 css */

.section1 {
    background: url(../images/LuciolaCruciata.jpg)no-repeat center center;
    animation: scaleDarw 17s ease-in-out infinite;
    overflow: hidden;
} 

.section1 .mask {
    opacity: 0.4;
} 

.section1 .desc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 999;
    color: #fff;
    width: 100%;
}

.section1 .desc h2 {
    font-size: 72px;
    font-weight: bold;
    font-family: 'Playfair Display', "Source Han Serif", serif;
}

.section1 .desc p {
    margin: 20px 0;
    letter-spacing: 2px;
    font-size: 24px;
}


/* 第二屏幕 css */

.section2 {
    background-image: url(../images/bg2.jpg);
    z-index: 1;
    overflow: hidden;
}

.container {
    width: 750px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px 20px;
}

.content {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    color: #fff;
}

.content:hover {
    box-shadow: 0 0 20px #0a0a0a;
    background-color: rgba(255, 255, 255, .1);
}

.content p {
    text-indent: 2em;
    line-height: 2;
}

.icon {
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.icon ul {
    padding: 10px;
}

.icon ul li {
    width: 25%;
    float: left;
    color: #ccc;
}
.icon ul li a{
    cursor: default;
}
.icon ul li:hover a {
    background-color: rgb(11, 52, 110);
}

.icon ul li:hover a .iconfont {
    color: #fff;
}

.icon a {
    display: inline-block;
    width: 80px;
    height: 80px;
    background-color: rgba(10, 10, 10, .2);
    border-radius: 50%;
    position: relative;
    margin-bottom: 10px;
}

.icon a .iconfont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #ccc;
}

.icon p {
    width: 100%;
    margin: 5px 0;
}


/* 第三屏幕 css */

.section3 {
    background-image: url(../images/bg3.jpg);
    overflow: hidden;
}
.section3 .main .phone-skill{
    display: none;
}
.skill {
    width: 100%;
}

.skill .skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.skill .skill-list li {
    display: inline-block;
    width: 150px;
    height: 165px;
    margin: 25px;
    position: relative;
    perspective: 300px;
    cursor: pointer;
}


/* 3d动画效果 css */

.skill-box {
    transform-style: preserve-3d;
    /*表示所有子元素在3D空间中呈现。*/
    transform-origin: 50% 50% -75px;
    /* 更改转换元素的位置 */
    animation: 300ms ease-out 0ms 1 normal forwards;
}

.skill-box,
.show,
.hide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.hide {
    font-size: 14px;
    padding: 7px 10px;
    letter-spacing: 1px;
    background: #ccc;
    transform: translate3d(0, 0, -1px);
    ;
    /* 3D空间内移动一个元素的位置 */
}

.show {
    background: #ccc;
}

.skill .skill-list li a img{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.skill .skill-list li a img {
    top: 20%;
}

.show p {
    font-size: 22px;
    bottom: 20%;
    width: 100%;
    position: absolute;
    text-align: center;
}

.hide p {
    margin-bottom: 5px;
    word-break: break-all;
}


/* top进入 */

.in-top .hide,
.out-top .hide {
    transform-origin: 0% 100%;
    transform: translate3d(0, -100%, 0) rotate3d(1, 0, 0, 90deg);
}

.in-top .skill-box {
    animation-name: in-top;
    animation-play-state: running;
}

.out-top .skill-box {
    animation-name: out-top;
    animation-play-state: running;
}

@keyframes in-top {
    from {
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        transform: rotate3d(-1, 0, 0, 90deg);
    }
}

@keyframes out-top {
    from {
        transform: rotate3d(-1, 0, 0, 90deg);
    }
    to {
        transform: rotate3d(0, 0, 0, 0deg);
    }
}


/* 右侧进入 */

.in-right .hide,
.out-right .hide {
    transform-origin: 0% 0%;
    transform: translate3d(100%, 0, 0) rotate3d(0, 1, 0, 90deg);
}

.in-right .skill-box {
    animation-name: in-right;
    animation-play-state: running;
}

.out-right .skill-box {
    animation-name: out-right;
    animation-play-state: running;
}

@keyframes in-right {
    from {
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        transform: rotate3d(0, -1, 0, 90deg);
    }
}

@keyframes out-right {
    from {
        transform: rotate3d(0, -1, 0, 90deg);
    }
    to {
        transform: rotate3d(0, 0, 0, 0deg);
    }
}


/* bottom 进入 */

.in-bottom .hide,
.out-bottom .hide {
    transform-origin: 0% 0%;
    transform: translate3d(0, 100%, 0) rotate3d(-1, 0, 0, 90deg);
}

.in-bottom .skill-box {
    animation-name: in-bottom;
    animation-play-state: running;
}

.out-bottom .skill-box {
    animation-name: out-bottom;
    animation-play-state: running;
}

@keyframes in-bottom {
    from {
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        transform: rotate3d(1, 0, 0, 90deg);
    }
}

@keyframes out-bottom {
    from {
        transform: rotate3d(1, 0, 0, 90deg);
    }
    to {
        transform: rotate3d(0, 0, 0, 0deg);
    }
}


/* 左侧进入 */

.in-left .hide,
.out-left .hide {
    transform-origin: 100% 0;
    transform: translate3d(-100%, 0, 0) rotate3d(0, -1, 0, 90deg);
}

@keyframes in-left {
    from {
        transform: rotate3d(0, 0, 0, 0deg);
    }
    to {
        transform: rotate3d(0, 1, 0, 90deg);
    }
}

@keyframes out-left {
    from {
        transform: rotate3d(0, 1, 0, 90deg);
    }
    to {
        transform: rotate3d(0, 0, 0, 0deg);
    }
}

.in-left .skill-box {
    animation-name: in-left;
    animation-play-state: running;
}

.out-left .skill-box {
    animation-name: out-left;
    animation-play-state: running;
}
/* 工作经历 */
.section4 {
    position: relative;
    background-image: url(../images/bg4.jpg);
}
.work-main{
    height: 60%;
}
.work-main .work{
    display: flex;
    justify-content: flex-end;
    height: 100%;
    color: #fff;
}
.tree-nav{
    height: 100%;
    position: absolute;
    left: 40%;
    transform: translateX(-50%);

}
.tree-nav::after{
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    width: 7px;
    height: 80%;
    background-color: #0B346E;
}
.tree-nav .top-circle{
    width: 100px;
    height: 100px;
    border: 7px solid #0B346E;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    line-height: 100px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    
    background-color: transparent;
}
.year-tag{
    position: absolute;
    top: 74px;
    left: -140px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px #0B346E;
    text-align: center;
    line-height: 100px;
    font-size: 14px;
}
.year-tag::after{
    content: '';
    position: absolute;
    top: 50%;
    left:104px;
    transform: translateY(-50%);
    width: 36px;
    height: 7px;
    background-color: #0B346E;
   
}

.work-main .work:hover .year-tag{
    transition: all .3s ease-in-out;
    transform: rotate(360deg);
}
.work-desc{
    width: 50%;
    margin-top: 20px;
    margin-right: 80px;
}

.work-desc .item{
    background-color: rgba(255, 255, 255, .2);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    position: relative;
    padding:20px;
}
.work-desc .item:before{
    content:'';
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-left:12px solid transparent ;
    border-bottom: 12px solid transparent;
    border-right: 16px solid rgba(255, 255, 255, .2);
    position: absolute;
    left: -27px;
    top: 50%;
    transform: translateY(-50%);
    
}

.position{
    margin: 6px 0 10px;
    font-size: 14px;
    color: rgb(11, 52, 110);
    font-weight: bold;
}
.work-desc .item .txt{
    line-height: 24px;
    font-size: 16px;
}
/* 第五屏幕 css */

.section5 {
    position: relative;
    background-image: url(../images/bg5.jpg);
}
.section5 .swiper-container{
    display: none;
}
.section5 .main {
    height: 100%;
    padding-top: 70px;
    box-sizing: border-box;
}
.section5 .main .demo{
    height: 100%;
    overflow: hidden;  
}
.section5 .main .demo .demo_item{
    position: absolute;
    top:12%;
    opacity: 0;
    transition: all 0.5s linear;
}
.section5 .main .demo .demo_item.active{
    opacity: 1;
}
.section5 .main .demo ul {
    width: 100%;
    text-align: center;
}
.section5 .main .demo ul li {
    margin: 20px;
    width: 25%;
    display: inline-block;
}
.demo-icon{
    position: absolute;
    left: 50%;
    top:60%;
    transform: translateX(-50%);
    
}
.demo-icon .demo-num{
    display: inline-block;
    padding: 6px 10px;
    background-color: #ccc;
    border-radius: 4px;
    color: #fff;
}
.demo-icon a.active{
    background-color: #0B346E;
}
.demo-bg {
    position: relative;
}

.demo-inner {
    padding: 0 15px 15px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.demo-bg .demo-inner img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    -webkit-filter: grayscale(100%);
    -moz-filter:grayscale(100%);
    -ms-filter:grayscale(100%);
    -o-filter:grayscale(100%);
    filter: grayscale(100%);
    transition: all 0.5s ease-in-out;
}

.demo ul li:hover .demo-inner img {
    -webkit-filter: grayscale(0);
    -moz-filter:grayscale(0);
    -ms-filter:grayscale(0);
    -o-filter:grayscale(0);
    filter: grayscale(0);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1); 
}


.demo-bg::before,
.demo-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.demo-bg::before {
    height: 60%;
    z-index: 1;
    background: -webkit-linear-gradient( rgba(10, 10, 10), rgba(204, 204, 204));
}

.demo-bg::after {
    height: 30%;
    z-index: 3;
    background: -webkit-linear-gradient(rgba(204, 204, 204, .5), rgba(10, 10, 10, .5));
}


/* 第五屏幕 css */

.section6 {
    background-image: url(../images/bg6.jpg);
}

.contact-box {
    width: 420px;
    height: 380px;
    padding: 50px 10px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.contact-box::before,
.contact-box::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 80px;
}

.contact-box::before {
    top: -20px;
    right: -25px;
    border-top: 5px solid #0B346E;
    border-right: 5px solid #0B346E;
}

.contact-box::after {
    left: -25px;
    bottom: -20px;
    border-left: 5px solid #0B346E;
    border-bottom: 5px solid #0B346E;
}

.contact-title {
    margin-bottom: 40px;
}

.contact-title span {
    font-size: 24px;
    padding: 0 15px;
}

.s1 {
    color: #84c800;
}

.s2 {
    color: #33ccff;
}

.s3 {
    color: #e3723c;
}

.s4 {
    color: #9e966e;
}

.contact-text {
    color: #fff;
    line-height: 1.5;
}

.contact-icon {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.contact-icon a {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    box-sizing: border-box;
    border-radius: 50%;
    color: #ccc;
    background-color: rgba(10, 10, 10, .7);
    position: relative;
    text-align: center;
    line-height: 40px;
}

.contact-icon a:hover {
    color: #fff;
    background-color: #0B346E;
}

.contact-icon a:hover .icon-tips {
    display: block;
}
.contact-icon a i{
    font-size: 28px;
}
.contact-icon a:last-child i{
    font-size: 18px;
}

.weixin-tips {
    width: 150px;
    height: 151px;
    border: 4px solid #0B346E;
    position: absolute;
    top: -170px;
    left: -54px;
    padding: 5px;
}

.weixin-tips::before,
.qq-tips::before {
    bottom: -14px;
    border-top: 10px solid #0B346E;
}

.qq-tips {
    width: 149px;
    height: 175px;
    border: 4px solid #0B346E;
    position: absolute;
    top: -194px;
    left: -54px;
    padding: 5px;
}
.icon-tips{
    background-color: #fff;
}
.icon-tips img{
    display: block;
    width: 100%;
    height: 100%;
}
.git-tips {
    display: inline-block;
    width: 100px;
    position: absolute;
    top: -55px;
    left: -30px;
    text-align: center;
    color: #fff;
    background: #0B346E;
    border-radius: 5px;
}

.git-tips::before {
    bottom: -8px;
    border-top: 10px solid #0B346E;
}


/* brand css */

.brand {
    position: fixed;
    top: 30px;
    left: 50px;
    width: 196px;
    color: #fff;
    background-color: #0a0a0a;
    opacity: 0.7;
    border: 1px solid rgb(10, 10, 10);
    border-radius: 7px;
    padding: 10px;
    z-index: 999;
    overflow: hidden;
}
.brand::after{
    content: '';
    position: absolute;
    top: -40px;
    left: -100px;
    width: 60px;
    height: 120px;
    transform: rotate(-45deg);
    background-color: rgba(255, 255, 255, .2);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}
.brand:hover:after {
    left: 120%;
    transition: all 600ms cubic-bezier(0.3, 1, 0.2, 1);
    -webkit-transition: all 600ms cubic-bezier(0.3, 1, 0.2, 1);
    -moz-transition: all 600ms cubic-bezier(0.3, 1, 0.2, 1);
    -ms-transition: all 600ms cubic-bezier(0.3, 1, 0.2, 1);
    -o-transition: all 600ms cubic-bezier(0.3, 1, 0.2, 1);
}
.brand span {
    position: absolute;
    top: 18px;
    left: 64px;
    font-size: 24px;
    font-weight: bold;
    font-family: "plantc", "Source Han Serif", serif;
}


/* nav css */


/* navIcon css */

.phone-nav {
    display: none;
}
.burger{
    width: 42px;
    height:42px;    
    position: fixed;
    top: 37px;
    right: 55px;
    border: 1px solid rgb(10, 10, 10);
    border-radius: 50%;
    background-color: #0a0a0a;
    opacity: 0.7;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 4px 4px 0 rgb(255 255 255 / 20%);
}
.burger-line1,.burger-line2,.burger-line3{
width: 20px;
height: 2px;
background-color: #fff;
}

.burger-line2{
margin: 5px 0;
}

.nav {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 999;
}
 .nav.open{
    background: transparent;
    position: fixed;
    right: -30%;
    top: 0;
    width: 26%;
    height: 100vh;
    border-top: none;
    border-bottom:100vh #e4e2e3 solid;
    border-left: transparent 180px solid;
    border-right: none;
    box-sizing: border-box; 
    
    opacity: 0;
    animation: slideDown .6s ease-out forwards;
  }
  
   .nav.open .burger-line1, .nav.open .burger-line2, .nav.open .burger-line3{
    background-color: #fff;
    transition: .4s ease;
  }
   .nav.open .burger-line1{
    transform: rotate(45deg) translate(5px,5px);
  }
   .nav.open .burger-line2{
    transform: translateX(5px);
    opacity: 0;
  }
   .nav.open .burger-line3{
    transform: rotate(-45deg) translate(5px,-5px);
  }
  

  @keyframes slideDown {
    from{
      right: -30%;
      opacity: 0;
    }
    to{
      right: 0;
      opacity: 1;
    }
  }
.nav ul{
    display: none;
    margin-top: 140px;
    position: absolute;
    right: 16%;
    
} 
.nav.open ul{
    display: block;
}
.nav ul li {
    line-height: 2;
    text-align-last: justify;
    margin-top: 10px;
    text-align: center;
}

.nav ul li a {
    font-size: 24px;
    color: #333;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
.nav ul li:hover a {
    color: #0B346E;
}


/* 设置导航栏样式 */

a:active,
a:hover,
a:focus {
    outline: none;
}

#fp-nav.fp-right {
    top: 68%;
    right: 64px;
}

#fp-nav ul li {
    width: 12px;
    height: 12px;
    margin: 20px;
    background-color: #fff;
    border-radius: 50%;
}


#fp-nav ul li a span{
    width:6px ;
    height:6px ;
    margin: 0;
    transform: translate(-50%,-50%);
}
#fp-nav ul li a.active span{
    width: 6px;
    height:6px ;
    margin: 0;
    transform: translate(-50%,-50%);
    background-color:rgba(11, 52, 110,.8);
    box-shadow: 0 0 10px 2px rgba(11, 52, 110,.8);
}

#fp-nav ul li:hover a span, .fp-slidesNav ul li:hover a span {
    width: 6px;
    height:6px ;
    margin: 0;
    transform: translate(-50%,-50%);
    background-color:rgba(11, 52, 110,.8);
    box-shadow: 0 0 10px 2px rgba(11, 52, 110,.8);
}


/* 圆球的样式 */

#circle-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    perspective: 700px;
    transition: all 3s;
}

.circle-row div {
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(224, 196, 11, 1));
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateZ(300px);
    transition: all 3s;
}

.circle-row1 div {
    height: 50px;
    width: 50px;
}

.circle-row1 .circle1 {
    margin-top: -270px;
    margin-left: -100px;
}

.circle-row1 .circle2 {
    margin-top: 50px;
    margin-left: 100px;
}

.circle-row1 .circle3 {
    margin-top: -200px;
    margin-left: 300px;
}

.circle-row1 .circle4 {
    margin-top: 150px;
    margin-left: 200px;
}

.circle-row2 div {
    width: 70px;
    height: 70px;
}

.circle-row2 .circle1 {
    margin-top: -150px;
    margin-left: 0;
}

.circle-row2 .circle2 {
    margin-top: -270px;
    margin-left: 250px;
}

.circle-row2 .circle3 {
    margin-top: -150px;
    margin-left: 0;
}

.circle-row2 .circle4 {
    margin-top: 50px;
    margin-left: -200px;
}

.circle-row3 div {
    width: 100px;
    height: 100px;
}

.circle-row3 .circle1 {
    margin-top: -100px;
    margin-left: -200px;
}

.circle-row3 .circle2 {
    margin-top: 50px;
    margin-left: 300px;
}

.circle-row3 .circle3 {
    margin-top: 150px;
    margin-left: 400px;
}

.circle-row3 .circle4 {
    margin-top: -250px;
    margin-left: 200px;
}


/* 制作动画 */

.circle-row1 div {
    animation: circleRotate 12s linear infinite;
}

.circle-row2 div {
    animation: circleRotate 10s linear infinite;
}

.circle-row3 div {
    animation: circleRotate 9s linear infinite;
}

@keyframes circleRotate {
    from {
        transform: translateX(0) rotate(0);
    }
    to {
        transform: translateX(-1000px) rotate(-1800deg);
    }
}


/* 屏幕一的动画 */

@keyframes scaleDarw {
    0%,
    50% {
        transform: scale(1);
    }
    25%,
    75% {
        transform: scale(1.1);
    }
}

/* @media样式 */
@media screen and  (max-width:1000px){
    body {
        font-size: 16px;
    }
    
    .brand {
        width: 140px;
        left: 26px;
        padding: 6px;
    }
    
    .brand>img {
        width: 40px;
    }
    
    .brand span {
        font-size: 20px;
        left: 46px;
        top: 14px;
    }
    
    .nav {
        top: 90px;
        right: 12px;
    }
    
    .navIcon {
        top: 30px;
        right: 30px;
    }
    
    .navIcon .iconfont {
        font-size: 30px;
    }
    
    .nav ul li a {
        font-size: 20px;
    }
    
    .section1 .desc h2 {
        font-size: 68px;
    }
    
    #fp-nav ul li {
        width: 6px;
        height: 6px;
        margin: 16px;
    }
    
    #fp-nav.fp-right {
        top: 70%;
        right: 30px;
    }
    
    #fp-nav ul li a span,
    .fp-slidesNav ul li a span,
    #fp-nav ul li a.active span,
    #fp-nav ul li:hover a span,
    .fp-slidesNav ul li:hover a span {
        height: 8px;
        width: 8px;
        margin: -4px 0px 0px -4px;
    }
    
    .container {
        padding: 0;
    }
    
    .head_title {
        font-size: 30px;
    }
    
    .content {
        padding: 20px 40px;
        margin: 0 auto;
    }
    
    .icon a {
        width: 60px;
        height: 60px;
    }
    
    .icon a .iconfont {
        font-size: 28px;
    }
    
    .test {
        top: 10%;
    }
        
    .contact-box::before,
    .contact-box::after {
        width: 0;
        height: 0;
        border: none;
    }
}
/* music */
.music-container {
  background-color: rgba(255,255,255, .3);
  border-radius: 15px;
  box-shadow: 0 6px 4px 0 rgba(252, 169, 169, 0.6);
  display: flex;
  padding: 20px 30px;
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 10;
}

.img-container {
  position: relative;
  width: 110px;
}

/* .img-container::after {
  content: '';
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, 50%);
} */

.img-container img {
  border-radius: 50%;
  object-fit: cover;
  height: 110px;
  width: inherit;
  position: absolute;
  bottom: 0;
  left: 0;
  animation: rotate 3s linear infinite;

  animation-play-state: paused;
}

.music-container.play .img-container img {
  animation-play-state: running;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.action-btn i{
  color: #dfdbdf;
  font-size: 24px;
  cursor: pointer;
  margin: 0 20px;
}

.action-btn.action-btn-big i{
  color: #cdc2d0;
  font-size: 40px;
}

.action-btn:focus {
  outline: 0;
}

.music-info {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 15px 15px 0 0;
  position: absolute;
  top: 0;
  left: 20px;
  width: calc(100% - 40px);
  padding: 10px 10px 10px 150px;
  opacity: 0;
  transform: translateY(0%);
  transition: transform 0.3s ease-in, opacity 0.3s ease-in;
  z-index: 0;
}

.music-container.play .music-info {
  opacity: 1;
  transform: translateY(-100%);
}

.music-info h4 {
  margin: 0;
}

.progress-container {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 0;
  height: 4px;
  width: 100%;
}

.progress {
  background-color: #fe8daa;
  border-radius: 5px;
  height: 100%;
  width: 0%;
  transition: width 0.1s linear;
}

@media screen and  (max-width:768px){
.music-container{
    display: none;
}    
.loader div{
    margin: 0 30px;
}    
.mhide,.tree-nav::after,.work-desc .item:before{
    display: none;
}
.work-desc{
    width: 90%;
    margin: 50px auto 0;
}
.brand,
#fp-nav.fp-right {
    display: none;
}

.nav {
    display: none;
}

.phone-nav {
    display: block;
    background-color:  rgba(10, 10, 10, .7);
    opacity: 0.7;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
    height: 50px;
    z-index: 998;
}

.phone-nav .navtitle {
    line-height: 50px;
    margin-left: 12px;
    font-size: 26px;
    font-family: SimSun, "微软雅黑", "宋体", sans-serif;
    ;
    color: #fff;
}

.phone-nav>a img {
    width: 34px;
    position: absolute;
    top: 12px;
    right: 15px;
}

.phone-nav ul {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    text-align: center;
    display: none;
}

.phone-nav ul li {
    font-size: 18px;
    line-height: 40px;
    background-color: rgba(10, 10, 10, .4);
}

.phone-nav ul li.active {
    background-color: rgba(11, 52, 110,.5);
}

.head_title {
    font-size: 24px;
    margin: 0;
}

.head_title h3::after {
    width: 160px;
}

.head_title .enwords {
    padding: 5px;
    letter-spacing: 2px;
}

.navIcon {
    top: 20px;
    right: 20px;
}

.test {
    top: 10%;
}

.container {
    width: 100%;
}

.content {
    padding: 20px;
}

.content p {
    line-height: 1.5;
}

.icon {
    margin: 0;
}

.icon p span {
    font-size: 14px;
}

.content:hover {
    box-shadow: 0 0 0;
    background-color: rgba(255, 255, 255, 0);
}
.section {
    background-size: 175% 100%;
}
.section1 .desc h2 {
    font-size: 40px;
    font-weight: 900;
    font-family: SimSun, "微软雅黑", "宋体", sans-serif;
}

.section1 .desc p {
    font-size: 22px;
}


.skill {
    display: none;
}

.hide {
    font-size: 10px;
    padding: 5px;
    letter-spacing: normal;
}

.hide p {
    margin-bottom: 0;
}

.main{
    width: 100%;
    top: 20%;
}

.section5 .main .demo{
    display: none;
}
.contact-box {
    width: 100%;
    margin: none;
}

.contact-title span {
    padding: 0 10px;
}

.section3 .main .phone-skill{
    display: block !important;
}
.phone-skill .skill-desc{
    font-size: 12px;
    margin:0 30px;
    border-left: 1px solid rgba(11, 52, 110);
    color: #fff;
}
.phone-skill .skill-desc>li{
    background:rgba(10, 10, 10, .5);
    margin: 0 0 4px 15px;
    padding: 10px;
    border-radius: 4px;
    position: relative;
    line-height: 1.3;
  }
.phone-skill .skill-desc>li::before{
    content: "";
    width:12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(11, 52, 110);
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
  }
.section5 .swiper-container{
    display: block !important;
    position: absolute;
    width: 240px;
    height: 240px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.swiper-wrapper .swiper-slide:nth-of-type(1){
    background-image: url(../images/vue-food.jpg);
}
.swiper-wrapper .swiper-slide:nth-of-type(2){
    background-image: url(../images/vue-goods.jpg);
}
.swiper-wrapper .swiper-slide:nth-of-type(3){
    background-image: url(../images/echarts.jpg);
}
.swiper-wrapper .swiper-slide:nth-of-type(4){
    background-image: url(../images/first.jpg);
}
.swiper-wrapper .swiper-slide:nth-of-type(5){
    background-image: url(../images/xqd.png);
}
.swiper-wrapper .swiper-slide:nth-of-type(6){
    background-image: url(../images/ycwx.png);
}
.swiper-wrapper .swiper-slide:nth-of-type(7){
    background-image: url(../images/tj-web.png);
}
.swiper-wrapper .swiper-slide:nth-of-type(8){
    background-image: url(../images/demo-resume.jpg);
}

.swiper-wrapper .swiper-slide:nth-of-type(9){
    background-image: url(../images/uni.jpg);
}
.swiper-wrapper .swiper-slide{
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    
}
.swiper-wrapper .swiper-slide .swiper-desc{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    color: rgb(11, 52, 110);
    background: rgba(10, 10, 10, .2);
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-wrapper .swiper-slide:hover .swiper-desc{
    background: none;
}
}
@media screen and  (max-width:320px){
    body {
        font-size: 14px;
    }
    .phone-nav .navtitle {
        font-size: 22px;
    }
    .phone-nav>a img {
        width: 28px;
        top: 16px;
    }
    .show p {
        font-size: 14px;
        bottom: 10%;
    }
    .head_title {
        font-size: 18px;
    } 
    .icon {
        margin: 0;
    } 
    .content {
        padding: 10px;
    }
    .content p {
        line-height: 1.2;
    }
    .icon a {
        width: 40px;
        height: 40px;
    }
    .icon a .iconfont {
        font-size: 22px;
    }
    .hide {
        overflow: hidden;
    }
    .main{
        top: 16%;
    }
    
    .section5 .main .demo>ul li {
        width: 126px;
        margin-top: 10px;
    }
    
    .weixin-tips {
        width: 110px;
        height: 112px;
        background-size: 100% 100%;
        background-position: center;
        top: -130px;
        left: -38px;
    }
    
    .qq-tips {
        width: 110px;
        height: 125px;
        background-size: 100% 100%;
        background-position: center;
        top: -142px;
        left: -39px;
    }
    
    .head_title h3::after {
        width: 120px;
    }
}
